package com.niiwoo.civet.trade.dto.response.creditor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * Created by zhoulinquan on 2018/5/14.
 * 可交易交易订单dto
 */
@Getter
@Setter
@ToString
public class TradableInvestOrderDTO implements Serializable{
	private static final long serialVersionUID = 8294927270973968923L;
	
	// 标的ID
	private Long projectId;
	
	// 投资订单ID
	private Long investOrderId;
	
	// 借款人用户ID
	private String borrowUserId;
	
	// 标的期数
    private Integer deadline;
    
    // 标的期数
    private Integer currentPeriod;
    
    // 已收回款期数
    private Integer receivedPeriod;
    
    // 当期应收款日期
    private Date receivedDate;
    
    // 上期回款日期
    private Date lastPeriodReceivedDate;
	
	// 投资利率
    private BigDecimal borrowRate;
    
    // 加息利率
    private BigDecimal addRate;
    
    // 转让费率
    private BigDecimal tradeFeeRate;
    
    // 总本金
    private BigDecimal capital;
    
    // 已收本金
    private BigDecimal receivedCapital;
    
    // 待收利息
    private BigDecimal interest;
    
    // 当期利息
    private BigDecimal currentInterest;
    
    // 当期应收本息
    private BigDecimal receivableInterest;
    
    // 待收本息
    private BigDecimal amount;
	
    // 剩余月份
    private Integer remainMonth;
    
	// 剩余天数
    private Integer remainDay;
	
	// 可转让金额
    private BigDecimal tradableAmount;
    
    // 收益方式(1到期还本息，2等额本息，3按月还息，到期还本)
    private Byte repaymentType;

}
